package com.dy.drp.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.dy.drp.dto.BuyListDto;
import com.dy.drp.entity.Buyshorttime;
import com.dy.drp.entity.Provider;
import com.dy.drp.mapper.BuyshorttimeMapper;
import com.dy.drp.service.IBuyshorttimeService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dy.drp.service.IProviderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author dy
 * @since 2022-04-02
 */
@Service
public class BuyshorttimeServiceImpl extends ServiceImpl<BuyshorttimeMapper, Buyshorttime> implements IBuyshorttimeService {
    @Autowired
    private BuyshorttimeMapper buyshorttimeMapper;

    @Override
    public List<BuyListDto> selectAllBuyShortTime() {
        return buyshorttimeMapper.selectAllBuyShortTime();
    }
}
